package com.lmk.ms.common.net.udp.server.service;

import java.net.DatagramPacket;
import java.net.DatagramSocket;

/**
 * UDP服务端业务服务
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2023/4/25
 */
public interface UdpServerService {

    /**
     * 处理用户发送色数据包
     * @param socket
     * @param packet
     * @return
     */
    void handel(DatagramSocket socket, DatagramPacket packet);
}
